import axios from '../../utils/axios'
const auth={
    // 登录
    login(data){
        return  axios.post('/user/login',data)
    },
    // 修改密码
    updatePwd(data){
        return axios.post('/user/updatePwd',data)
    },
    updataUserInfo(data){
        return axios.post('/user/updatephoto',data)
    }
   
}
// let i=await auth.login({phone:'19988776655',password:'123456'})
// console.log(i);
export default auth